package com.entity;

import java.util.Date;

/**
 * 公告
 */
public class Notice {
	private Integer nid;// 公告号
	private String title;// 公告标题
	private String content;// 公告内容
	private String picture;// 图片
	private String file;// 文件
	private String adminname;// 发布者
	private Date ndate;// 发布日期

	public Integer getNid() {
		return nid;
	}

	public void setNid(Integer nid) {
		this.nid = nid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getFile() {
		return file;
	}

	public void setFile(String file) {
		this.file = file;
	}

	public String getAdminname() {
		return adminname;
	}

	public void setAdminname(String adminname) {
		this.adminname = adminname;
	}

	public Date getNdate() {
		return ndate;
	}

	public void setNdate(Date ndate) {
		this.ndate = ndate;
	}

	@Override
	public String toString() {
		return "Notice [nid=" + nid + ", title=" + title + ", content=" + content + ", picture=" + picture + ", file="
				+ file + ", adminname=" + adminname + ", ndate=" + ndate + "]";
	}

}